package com.dog.basics.service.mtkj;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dog.basics.bean.dto.api.mtkj.ApiBankAccountAddDto;
import com.dog.basics.bean.dto.api.mtkj.ApiBankAccountEditDto;
import com.dog.basics.bean.model.mtkj.MtBankAccount;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dog.basics.bean.vo.api.mtkj.ApiBankAccountVo;
import com.dog.basics.common.util.PageParam;

import java.util.List;

/**
 * <p>
 * 绑定银行账户 服务类
 * </p>
 *
 * @author wph
 * @since 2020-11-09
 */
public interface IMtBankAccountService extends IService<MtBankAccount> {
    /**
     * @Description: 分页银行账户列表
     * @Param: status
     * @return: IPage<PlatePageVo>
     * @Author: wph
     * @Date:
     */
    IPage<ApiBankAccountVo> getPageList(PageParam page);


    /**
     * @Description: 增加银行账户
     * @Param: ApiBankAccountAddDto
     * @return: Boolean
     * @Author: wph
     * @Date: 2020/05/29  0027
     */
    Boolean saveObj(ApiBankAccountAddDto obj);

    /**
     * @Description: 修改银行账户
     * @Param: ApiBankAccountEditDto
     * @return: Boolean
     * @Author: wph
     * @Date: 2020/05/29  0027
     */
    Boolean editObj(ApiBankAccountEditDto obj);


    /**
     * @Description: 删除银行账户
     * @Param: ids
     * @return: Boolean
     * @Author: wph
     * @Date: 2020/05/29  0027
     */
    Boolean deleteObj(List<Long> ids);


    Boolean cs(String openId, String keyword1, String keyword2);
}
